<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>信息管理系统-LEFT</title>
        <link href="/rating/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
        <script language="JavaScript" src="/rating/Public/admin/js/jquery.js"></script>

        <script type="text/javascript">
            $(function () {
                //导航切换
                $(".menuson li").click(function () {
                    $(".menuson li.active").removeClass("active")
                    $(this).addClass("active");
                });

                $('.title').click(function () {
                    var $ul = $(this).next('ul');
                    $('dd').find('ul').slideUp();
                    if ($ul.is(':visible')) {
                        $(this).next('ul').slideUp();
                    } else {
                        $(this).next('ul').slideDown();
                    }
                });
            })
        </script>

    </head>
    <body style="background:#f0f9fd;">

        <div class="lefttop"><span></span><?php echo ($this_menuinfo["menu_title"]); ?></div>

        <dl class="leftmenu">
            <?php if(is_array($menuinfo)): $i = 0; $__LIST__ = $menuinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?><dd>
                    <div class="title">
                        <span><img src="/rating/Public/admin/images/<?php echo ($menu["menu_icon"]); ?>" /></span><?php echo ($menu["menu_title"]); ?>
                    </div>
                    <ul class="menuson">
                        <?php if(is_array($menu['child'])): $i = 0; $__LIST__ = $menu['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($i % 2 );++$i;?><li <?php if($child["menu_id"] == $active_menu["menu_id"] ): ?>class="active"<?php endif; ?>><cite></cite><a href="<?php echo U($child['menu_controller'].'/'.$child['menu_action']);?>" target="rightFrame"><?php echo ($child["menu_title"]); ?></a><i></i></li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </dd><?php endforeach; endif; else: echo "" ;endif; ?>
        </dl>

    </body>
</html>